﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpeakupBackend.Themes 
{
    public class ClubLevelGroupFactory : BaseLevelGroupFactory<ClubLevelGroup>
    {
        static List<Tuple<int, int>> GetValidLevelGroups()
        {
            return new List<Tuple<int, int>>()
            {
                new Tuple<int,int>(1,1),
                new Tuple<int,int>(2,2),
                new Tuple<int,int>(3,4),
                new Tuple<int,int>(5,6),
                new Tuple<int,int>(7,8),
                new Tuple<int,int>(9,10),
                new Tuple<int,int>(11,15)                
            };            
        }

        public ClubLevelGroupFactory() :
            base(GetValidLevelGroups())
        {
        
        }

        protected override ClubLevelGroup CreateLevelGroup(int min, int max)
        {
            return new ClubLevelGroup(min, max);
        }
    }
}
